package com.tvunetworks.center.user.model.param;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.*;

/**
 * @program: tvucc-aggregator
 * @description: AddMenuBarParam
 * @author lebronchen
 * @create: 2019-06-25 14:09
 **/
@Data
@Accessors(chain = true)
public class AddMenuBarParam {

    private String featureId;
    private String menu;
    private String enName;
    private String cnName;
    @NotEmpty
    private String dataMark;
    @NotNull
    private Integer type;  //0:tvucc menu  1:other menu
    @NotNull
    private Integer enable;  //0:失效  1:有效
    @Min(1)
    @Max(10000)
    private Integer orderNo;
    @NotNull
    private Integer autoOwn; // 0:不是所有人都有这个权限，Setting页面可以编辑权限  1:所有人都有这个权限，Setting页面不可以编辑这个权限
    @NotEmpty
    private String url;
    @Size(max = 32)
    private String remark;

}
